<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>atestcasefordoxy: CubE::Quaternion Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">atestcasefordoxy
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_cub_e.html">CubE</a>      </li>
      <li class="navelem"><a class="el" href="class_cub_e_1_1_quaternion.html">Quaternion</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">CubE::Quaternion Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="CubE::Quaternion" -->
<p><code>#include &lt;<a class="el" href="cub_e_math_8h_source.html">cubEMath.h</a>&gt;</code></p>

<p><a href="class_cub_e_1_1_quaternion-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#acf7cf306b17aa220527896194d95eefc">Quaternion</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#ab3674ffe8595142b947e1242ab28152d">Quaternion</a> (<a class="el" href="class_cub_e_1_1_quaternion.html">Quaternion</a> const &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#a2d78295510373ee2cd8ff9a722e97e0b">Quaternion</a> (<a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a> axis, <a class="el" href="class_cub_e_1_1_degree.html">Degree</a> angle)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#ae20aa3909dc8138c55be34ee64981a1c">Quaternion</a> (<a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a> axis, <a class="el" href="class_cub_e_1_1_radian.html">Radian</a> angle)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#a275b36cce38e3155f417a5b8648ec5da">Quaternion</a> (<a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a> iVec, float rW)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#a4127e56220a86698e2f58dd2cdb4c23e">Quaternion</a> (const <a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a> &amp;from, const <a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a> &amp;dest)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#adf19e3d5dd6e0e1319f1d5d4a7dc8340">GetImaginaryPart</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#a89b0c07d0c46eb2deee6b9535440038d">GetRealPart</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cub_e_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#a6639ddb99e553787966ee9ae3e72c783">GetConjugate</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cub_e_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#aaba5335b17d70c51f3a70528e35d8253">operator*</a> (const <a class="el" href="class_cub_e_1_1_quaternion.html">Quaternion</a> &amp;other) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#a5e3e5cddd61fb9aede7245a45a2c5977">Normalize</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#a91f7fca1bb14d1bf4c590e0bf48e9b39">IsNormalized</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cub_e_1_1_quaternion.html#abd4f1526e37636421564f6b7e954dbd1">GetLength</a> (void)</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acf7cf306b17aa220527896194d95eefc"></a><!-- doxytag: member="CubE::Quaternion::Quaternion" ref="acf7cf306b17aa220527896194d95eefc" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CubE::Quaternion::Quaternion </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab3674ffe8595142b947e1242ab28152d"></a><!-- doxytag: member="CubE::Quaternion::Quaternion" ref="ab3674ffe8595142b947e1242ab28152d" args="(Quaternion const &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CubE::Quaternion::Quaternion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_cub_e_1_1_quaternion.html">Quaternion</a> const &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2d78295510373ee2cd8ff9a722e97e0b"></a><!-- doxytag: member="CubE::Quaternion::Quaternion" ref="a2d78295510373ee2cd8ff9a722e97e0b" args="(Vector3 axis, Degree angle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CubE::Quaternion::Quaternion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a>&#160;</td>
          <td class="paramname"><em>axis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_cub_e_1_1_degree.html">Degree</a>&#160;</td>
          <td class="paramname"><em>angle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae20aa3909dc8138c55be34ee64981a1c"></a><!-- doxytag: member="CubE::Quaternion::Quaternion" ref="ae20aa3909dc8138c55be34ee64981a1c" args="(Vector3 axis, Radian angle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CubE::Quaternion::Quaternion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a>&#160;</td>
          <td class="paramname"><em>axis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_cub_e_1_1_radian.html">Radian</a>&#160;</td>
          <td class="paramname"><em>angle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a275b36cce38e3155f417a5b8648ec5da"></a><!-- doxytag: member="CubE::Quaternion::Quaternion" ref="a275b36cce38e3155f417a5b8648ec5da" args="(Vector3 iVec, float rW)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CubE::Quaternion::Quaternion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a>&#160;</td>
          <td class="paramname"><em>iVec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>rW</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4127e56220a86698e2f58dd2cdb4c23e"></a><!-- doxytag: member="CubE::Quaternion::Quaternion" ref="a4127e56220a86698e2f58dd2cdb4c23e" args="(const Vector3 &amp;from, const Vector3 &amp;dest)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CubE::Quaternion::Quaternion </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a> &amp;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a> &amp;&#160;</td>
          <td class="paramname"><em>dest</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6639ddb99e553787966ee9ae3e72c783"></a><!-- doxytag: member="CubE::Quaternion::GetConjugate" ref="a6639ddb99e553787966ee9ae3e72c783" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cub_e_1_1_quaternion.html">Quaternion</a> CubE::Quaternion::GetConjugate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="adf19e3d5dd6e0e1319f1d5d4a7dc8340"></a><!-- doxytag: member="CubE::Quaternion::GetImaginaryPart" ref="adf19e3d5dd6e0e1319f1d5d4a7dc8340" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cub_e_1_1_vector3.html">Vector3</a> CubE::Quaternion::GetImaginaryPart </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abd4f1526e37636421564f6b7e954dbd1"></a><!-- doxytag: member="CubE::Quaternion::GetLength" ref="abd4f1526e37636421564f6b7e954dbd1" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float CubE::Quaternion::GetLength </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a89b0c07d0c46eb2deee6b9535440038d"></a><!-- doxytag: member="CubE::Quaternion::GetRealPart" ref="a89b0c07d0c46eb2deee6b9535440038d" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float CubE::Quaternion::GetRealPart </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a91f7fca1bb14d1bf4c590e0bf48e9b39"></a><!-- doxytag: member="CubE::Quaternion::IsNormalized" ref="a91f7fca1bb14d1bf4c590e0bf48e9b39" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CubE::Quaternion::IsNormalized </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5e3e5cddd61fb9aede7245a45a2c5977"></a><!-- doxytag: member="CubE::Quaternion::Normalize" ref="a5e3e5cddd61fb9aede7245a45a2c5977" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CubE::Quaternion::Normalize </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aaba5335b17d70c51f3a70528e35d8253"></a><!-- doxytag: member="CubE::Quaternion::operator*" ref="aaba5335b17d70c51f3a70528e35d8253" args="(const Quaternion &amp;other) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cub_e_1_1_quaternion.html">Quaternion</a> CubE::Quaternion::operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_cub_e_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>cubE/<a class="el" href="cub_e_math_8h_source.html">cubEMath.h</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 5 2012 00:51:24 for atestcasefordoxy by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5
</small></address>

</body>
</html>
